home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / answers / comp / ripem / faq < prev    next >
Text File  |  1994-01-18  |  19KB  |  417 lines

  1. Newsgroups: alt.security.ripem,sci.crypt,comp.security.misc,alt.security,alt.privacy,comp.mail.misc,alt.answers,comp.answers,news.answers,ac.c.690.crypt
  2. Path: bloom-beacon.mit.edu!nic.hookup.net!swrinde!gatech!howland.reston.ans.net!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!silver.ucs.indiana.edu!mvanheyn
  3. From: Marc VanHeyningen <mvanheyn@cs.indiana.edu>
  4. Subject: RIPEM Frequently Asked Questions
  5. Content-Type: text/x-usenet-FAQ; vesrion=1.0; title="RIPEM FAQ"
  6. Message-ID: <CJsnqC.HsL@usenet.ucs.indiana.edu>
  7. Followup-To: alt.security.ripem
  8. Originator: mvanheyn@silver.ucs.indiana.edu
  9. Sender: news@usenet.ucs.indiana.edu (USENET News System)
  10. Nntp-Posting-Host: silver.ucs.indiana.edu
  11. Organization: Computer Science, Indiana University
  12. Mime-Version: 1.0
  13. Date: Mon, 17 Jan 1994 21:59:00 GMT
  14. Approved: news-answers-request@MIT.EDU
  15. Expires: Wed, 20 Apr 1994 00:00:00 GMT
  16. Lines: 398
  17. Xref: bloom-beacon.mit.edu alt.security.ripem:430 sci.crypt:13556 comp.security.misc:6130 alt.security:6245 alt.privacy:6525 comp.mail.misc:5921 alt.answers:1654 comp.answers:3460 news.answers:14227
  18.  
  19. Archive-name: ripem/faq
  20. Last-update: 13 Nov 93 22:00:00 -0500
  21.  
  22. ABOUT THIS POSTING
  23. ------------------
  24. This is a listing of likely questions and information about RIPEM, a
  25. program for public key mail encryption.  It (this FAQ, not RIPEM) was
  26. written and will be maintained by Marc VanHeyningen
  27. <mvanheyn@cs.indiana.edu>.  It will be posted to a variety of
  28. newsgroups; follow-up discussion specific to RIPEM is redirected to
  29. the group alt.security.ripem.
  30.  
  31. DISCLAIMER
  32. ----------
  33. Nothing in this FAQ should be considered legal advice, or anything
  34. other than one layperson's opinion.  If you want real legal advice,
  35. talk to a real lawyer, preferably one with experience in patent law,
  36. export regulations, or whatever area of law is in question.  Nothing
  37. that I say should be considered the opinions of Indiana University or
  38. the Computer Science Department; likewise, opinions of other persons
  39. quoted in this document should be considered their own, which may or
  40. may not represent the opinions of their affiliated institutions.
  41.  
  42. LIST OF QUESTIONS
  43. -----------------
  44. 1)  What is RIPEM?
  45. 2)  How can I get RIPEM?
  46. 3)  Will RIPEM run on my machine?
  47. 4)  Will RIPEM work with my mailer?
  48. 5)  What is RSA?
  49. 6)  What is DES?
  50. 7)  What is a fingerprint, like MD5?
  51. 8)  What is PEM?
  52. 9)  What's this about distributing and authenticating keys?
  53. 10)  Isn't it a bad idea to use patented algorithms in standards like PEM?
  54. 11)  What about RSADSI/PKP?
  55. 12)  Why do all RIPEM public keys look very similar?
  56. 13)  What is PGP?
  57. 14)  What about RPEM?
  58. 15)  What is MIME?
  59. 16)  What is TIS/PEM?
  60.  
  61. QUESTIONS AND ANSWERS
  62. ---------------------
  63.  
  64. 1)  What is RIPEM?
  65.  
  66.  Riordan's Internet Privacy Enhanced Mail (RIPEM) is a (not yet
  67.  complete, but useful) implementation of Privacy Enhanced Mail (PEM).
  68.  RIPEM allows your electronic mail to have the four security
  69.  facilities provided by PEM: disclosure protection (optional),
  70.  originator authenticity, message integrity measures, and
  71.  non-repudiation of origin (always).  (See: "What is PEM?")
  72.  
  73.  RIPEM was written primarily by Mark Riordan <mrr@scss3.cl.msu.edu>.
  74.  Most of the code is in the public domain, except for the RSA routines,
  75.  which are a library called RSAREF licensed from RSA Data Security Inc.
  76.  
  77.  The current version of RIPEM is 1.1a; the current version of the
  78.  Macintosh port of RIPEM is 0.8b1.
  79.  
  80. 2)  How can I get RIPEM?
  81.  
  82.  RIPEM uses the library of cryptographic routines RSAREF, which is
  83.  considered munitions and thus is export-restricted from distribution
  84.  to persons who are not citizens or permanent residents in the U.S or
  85.  Canada without an export license.  No such license has been obtained
  86.  (nor would one likely be granted unless the RSA key exchange were
  87.  shortened to 512 bits and the symmetric cipher changed to something
  88.  weaker than DES.  There were some suggestions that this situation may
  89.  change now that Clinton is in office, but that is looking less and
  90.  less likely.)  The author requests in the README file that this law
  91.  not be violated:
  92.  
  93.  #Please do not export the cryptographic code in this distribution
  94.  #outside of the USA or Canada.  This is a personal request from me,
  95.  #the author of RIPEM, and a condition of your use of RIPEM.
  96.  #I don't agree with US export restrictions, but I intend to comply.
  97.  
  98.  Note that RSAREF is not in the public domain, and a license for it is
  99.  included with the distribution.  You should read it before using
  100.  RIPEM.
  101.  
  102.  RIPEM is available via anonymous FTP to citizens and permanent
  103.  residents in the U.S. from rsa.com; cd to rsaref/ and read the README
  104.  file for info.  Note that the non-RSAREF portion of RIPEM is not a
  105.  product of RSA Data Security, Incorporated; they merely are helping
  106.  distribute it.
  107.  
  108.  RIPEM, as well as some other crypt stuff, has its "home site" on
  109.  ripem.msu.edu, which is open to non-anonymous FTP for users in the
  110.  U.S. and Canada who are citizens or permanent residents.  To find out
  111.  how to obtain access, FTP there, cd to pub/crypt/, and read the file
  112.  GETTING_ACCESS.  For convenience, binaries for many architectures are
  113.  available here in addition to the full source tree.
  114.  
  115. 3)  Will RIPEM run on my machine?
  116.  
  117.  Probably.  The standard RIPEM has been ported to MS-DOS, Macintosh,
  118.  OS/2, Windows NT, and many UNIX systems including NeXT, SunOS,
  119.  Solaris, ULTRIX, AIX, HP/UX, Irix, MPIS RISC/os, V/88, Apollo, SCO,
  120.  386BSD, Linux, ESIX...
  121.  
  122.  In addition to the standard Mac port, a particularly nice version,
  123.  written by Raymond Lau (author of StuffIt) is available.
  124.  
  125. 4)  Will RIPEM work with my mailer?
  126.  
  127.  Probably.  How easy and clean the effective interface is will depend
  128.  on the sophistication and modularity of the mailer, though.  The users
  129.  guide, included with the distribution, discusses ways to use RIPEM
  130.  with many popular mailers, including Berkeley, mush, Elm, and MH.
  131.  Code is also included in elisp to allow easy use of RIPEM inside GNU
  132.  Emacs.
  133.  
  134.  If you make a new interface for RIPEM or create an improvement on one
  135.  in the distribution which you believe is convenient to use, secure,
  136.  and may be useful to others, feel free to post it to alt.security.ripem.
  137.  
  138. 5)  What is RSA?
  139.  
  140.  RSA is a crypto system which is asymmetric, or public-key.  This means
  141.  that there are two different, related keys: one to encrypt and one to
  142.  decrypt.  Because one cannot (reasonably) be derived from the other,
  143.  you may publish your encryption, or public, key widely and keep your
  144.  decryption, or private, key to yourself.  Anyone can use your public
  145.  key to encrypt a message, but only you hold the private key needed to
  146.  decrypt it.  Note that the "message" sent with RSA is normally just
  147.  the DES key to the real plaintext. (See "What is DES?")
  148.  
  149.  Note that the above only provides for disclosure protection.  For
  150.  originator authenticity, message integrity, and non-repudiation of
  151.  origin services to be implemented, the fingerprint of the message
  152.  (See "What is a fingerprint, like MD5?") is encrypted with the
  153.  sender's private key.  The recipient, or a dispute-resolving
  154.  authority, can use the sender's public key to decrypt it and confirm
  155.  that the message must have come from the sender and was not altered.
  156.  
  157.  RSA was named for the three men (Rivest, Shamir and Adleman) who
  158.  invented it.  To find out lots more about RSA and modern cryptography
  159.  in general, ftp to rsa.com and look in pub/faq/.  Some information
  160.  also may be in sci.crypt.
  161.  
  162. 6)  What is DES?
  163.  
  164.  DES is the Data Encryption Standard, a widely used symmetric, or
  165.  secret-key, crypto system.  Unlike RSA, DES uses the same key to
  166.  encrypt and decrypt messages.  However, DES is much faster than RSA.
  167.  
  168.  RIPEM uses both DES and RSA; it generates a random key and encrypts
  169.  your mail with DES using that key.  It then encrypts that key with the
  170.  recipient's public RSA key and includes the result in the letter,
  171.  allowing the recipient to recover the DES key.
  172.  
  173.  DES is sometimes considered weak because it is somewhat old and uses a
  174.  key length considered too short by modern standards.  However, it
  175.  should be reasonably safe against an opponent smaller than a large
  176.  corporation or government agency.  RIPEM 1.1 includes support for
  177.  triple-DES using EDE; however, this isn't really supported by the PEM
  178.  spec yet, so it should be used in cases where security is more
  179.  important than interoperability.
  180.  
  181. 7)  What is a fingerprint, like MD5?
  182.  
  183.  MD5 is a message digest algorithm produced by RSA Data Security Inc.
  184.  It provides a 128-bit fingerprint, or cryptographically secure hash,
  185.  of the plaintext.  It is cryptographically secure because it is not
  186.  possible (in a reasonable amount of computation) to produce a
  187.  different plaintext which produces the same fingerprint.  Thus,
  188.  instead of signing the entire message with the sender's private key,
  189.  only the MD5 of the message needs to be signed for authentication.
  190.  
  191.  MD5s can also be exchanged directly for authentication; for example,
  192.  RIPEM public keys include an MD5 of the public key in the file, so
  193.  parties wishing to confirm their keys are authentic via a separate
  194.  channel merely need exchange MD5s of keys and verify their accuracy.
  195.  
  196.  MD5 is sometimes used for other purposes; for example, it is often
  197.  used to map an input of arbitrary length to 128 bits of data, as a
  198.  passphrase interpreter or cookie generator.
  199.  
  200.  MD5 is described in its entirety (including an implementation in C) in
  201.  RFC 1321.
  202.  
  203.  There have been some recent suggestions that MD5 may not be as strong
  204.  a hash as was originally believed; however, thus far it is still
  205.  regarded as secure.
  206.  
  207. 8)  What is PEM?
  208.  
  209.  PEM is Privacy Enhanced Mail, a standard for allowing transfer of
  210.  encrypted electronic mail generated over a long period of time by a
  211.  working group of experts.  It is described in RFCs 1421-1424; these
  212.  documents have been approved and obsolete the old RFCs 1113-1115.
  213.  
  214.  RIPEM is not really a complete implementation of PEM, because PEM
  215.  specifies certificates for authenticating keys, which RIPEM does not
  216.  handle at this time.  Their addition is planned.  They have already
  217.  been added to the Macintosh version.
  218.  
  219.  A good technical introduction to PEM is in the August 1993 issue of
  220.  _Communications of the ACM_ (Vol. 38, No. 8, page 48.)
  221.  
  222. 9)  What's this about distributing and authenticating keys?
  223.  
  224.  For a remote user to be able to send secure mail to you, she must know
  225.  your public key.  For you to be able to confirm that the message
  226.  received came from her, you must know her public key.  It is important
  227.  that this information be accurate; if a "bad guy" convinces her that
  228.  his key is in fact yours, she will send messages which he can read.
  229.  
  230.  RIPEM allows for three methods of key management: a central server,
  231.  the distributed finger servers, and a flat file.  All three are
  232.  described in the RIPEM users guide which is part of the distribution.
  233.  None of them provide perfect security.  The PEM standard calls for
  234.  key management by certificates; the addition of this feature to RIPEM
  235.  is planned, but the hierarchy of certifying authorities is still
  236.  developing and thus few people have certificates yet.
  237.  
  238. 10)  Isn't it a bad idea to use patented algorithms in standards like PEM?
  239.  
  240.  This issue has been considered in the standards process.  RFC 1310,
  241.  the specification for Internet standards, has a discussion (section
  242.  6) on what specifications for nondiscriminatory availability must be
  243.  met for a patented method to be included in a standard.  RFC 1421
  244.  addresses this issue with regard to the patents covering public-key
  245.  cryptography.
  246.  
  247.  Of course, not everyone agrees that this is the best way to handle
  248.  patents and standards.  As is usual for USENET, discussions usually
  249.  produce a lot more heat than light.  The RSA FAQ referenced above
  250.  includes some (now slightly dated) discussion; the LPF archive (in
  251.  ftp.uu.net:/doc/lpf among other places) also includes some (dated)
  252.  material on it.
  253.  
  254. 11)  What about RSADSI/PKP?
  255.  
  256.  RSA Data Security, Inc. (RSADSI) is a California-based company
  257.  specializing in cryptographic technologies.  Public Key Partners
  258.  (PKP) is a firm which holds exclusive sub-licensing rights of the
  259.  following U.S. patents and all of their corresponding foreign
  260.  patents:
  261.  
  262.       Cryptographic Apparatus and Method
  263.       ("Diffie-Hellman")............................... No. 4,200,770
  264.  
  265.       Public Key Cryptographic Apparatus
  266.       and Method ("Hellman-Merkle").................... No. 4,218,582
  267.  
  268.       Cryptographic Communications System and
  269.       Method ("RSA")................................... No. 4,405,829
  270.  
  271.       Exponential Cryptographic Apparatus
  272.       and Method ("Hellman-Pohlig").................... No. 4,424,414
  273.  
  274.  PKP claims their patents cover all known methods of public key
  275.  cryptography.  PKP and RSADSI are rather closely related (for
  276.  example, the same person, Jim Bidzos, is president of both of them.)
  277.  PKP has licensed this technology to a considerable number of
  278.  companies (IBM, DEC, Motorola, AT&T, Lotus...) for use in their
  279.  products.  PKP has also threatened and filed lawsuits defending their
  280.  patents.
  281.  
  282.  RIPEM was originally created with no connection to RSADSI other than
  283.  its use of the RSAREF library, and for no reason other than its
  284.  author's desire to see widespread use of public-key cryptography.
  285.  However, after the ball started rolling, people at RSADSI got
  286.  interested.  RSADSI decided to carry RIPEM on its FTP site, and some
  287.  people there started making their own RIPEM keys.  RSADSI and RIPEM's
  288.  developers share the goal of improving RSAREF; its performance has
  289.  been enhanced substantially by various optimizations, including
  290.  hand-hacking critical portions in assembler, and improvements are
  291.  continuing.  RIPEM even won the "Best Application Built on RSAREF in
  292.  1992" award.
  293.  
  294. 12)  Why do all RIPEM public keys look very similar?
  295.  
  296.  RIPEM public keys begin with a PKCS (Public-Key Cryptography
  297.  Standards) identifier describing various characteristics about the
  298.  key, so the first bunch of characters in your key may be the same as
  299.  those of lots of other people's keys.  This does not mean your keys
  300.  are similar, but only that they are the same class of key, were
  301.  generated with the same program, are of the same length, etc.
  302.  
  303. 13)  What is PGP?
  304.  
  305.  PGP is another cryptographic mail program called Pretty Good Privacy.
  306.  PGP has been around longer than RIPEM, and works somewhat differently.
  307.  PGP is not compatible with RIPEM in any way, though PGP does also use RSA.
  308.  
  309.  A few major differences between PGP and RIPEM:
  310.  
  311.  * PGP has more key management features for users without a direct
  312.    network connection.  Its key verification mechanism is readily
  313.    non-hierarchical, which means it's more available today, while
  314.    probably the best key distribution with RIPEM for now is to
  315.    automatically finger the recipient for a public key.
  316.  
  317.  * RIPEM conforms to the PEM RFCs and thus has a greater probability
  318.    of working with other PEM software.  PGP makes no attempt to be
  319.    compatible with anything other than itself; i.e. it's not a
  320.    "standard."
  321.  
  322.  * RIPEM uses RSAREF, a library of RSA routines from RSADSI which
  323.    comes with a license allowing noncommercial use.  PGP uses its own
  324.    implementation of RSA which is not licensed. (See: "DISCLAIMER")
  325.    (See: "What about RSADSI/PKP?")  There are rumors that a
  326.    PGP-compatible product implemented with RSAREF is in the works.
  327.  
  328.    Some various legal perspectives on using PGP in the U.S.:
  329.  
  330.    ``an illegal activity that violates patent and export law.''
  331.        - Jim Bidzos <jim@rsa.com>, President of PKP and RSADSI,
  332.       _Wired_ (the magazine), May/June 1993
  333.  
  334.    ``In fact, if you live in the USA, and you are not a Federal
  335.      agency, you shouldn't actually run PGP on your computer, because
  336.      Public Key Partners wants to forbid you from running my software.
  337.      PGP is contraband.''
  338.  
  339.        - Phil Zimmermann <prz@sage.cgd.ucar.edu>, author of PGP, PGP
  340.       Users' Guide, Volume 2.
  341.       Phil stopped being openly involved with PGP distribution
  342.       after being threatened with legal action by PKP.
  343.  
  344.    ``PKP can test the validity of its patent and recover its damages,
  345.      if any, in a suit against the developers and distributors of PGP,
  346.      if it cares to.  [ ... ]  It is virtually unheard-of to sue
  347.      individual end-use consumers of allegedly infringing technology.''
  348.  
  349.         - Eben Moglen <em21@cunixf.cc.columbia.edu>, Professor of Law
  350.       & Legal History, Columbia University, archived in
  351.       ftp.informatik.uni-hamburg.de:/pub/virus/misc/pgplegal.zip.
  352.       Note that PKP has, in fact, threatened some developers and
  353.       distributors who are within the reach of U.S. law;
  354.       generally, some agreement has been reached without going to
  355.       court.  This is why, for example, few U.S. FTP sites are
  356.       willing to carry PGP.
  357.  
  358.    ``Using PGP is like having a Morganti weapon; if "they" need a
  359.      reason to give you a hassle, "they" have one.  "They" can be the
  360.      legal authorities, your sysadmin, or just someone who wants to
  361.      make trouble for you.  [ ... ]  The tradeoffs should be
  362.      considered.''
  363.  
  364.     - Christopher Davis <ckd@eff.org>, System Manager &
  365.       Postmaster, Electronic Frontier Foundation & Kapor
  366.       Enterprises, Inc., id <CKD.93Mar18114533@loiosh.eff.org>.
  367.       Some system administrators have instructed their users that
  368.       using PGP on their systems is not permitted.
  369.  
  370.  * Both PGP and RIPEM are export-restricted, and may not be lawfully
  371.    sent outside the U.S. and Canada without an export license.
  372.    However, PGP is already used and available internationally.
  373.  
  374.  Whether you use PGP or RIPEM or whatever, the documentation to PGP is
  375.  recommended reading to anyone interested in such issues.  It
  376.  (separate from the software) is available by FTP in the directory
  377.  black.ox.ac.uk:/DOCS/security
  378.  
  379.  
  380.  I do not consider PGP and RIPEM to be in ``competition.''  The two
  381.  programs were designed with different guidelines and priorities, and
  382.  each does a reasonably decent job of doing what it was written to do.
  383.  The authors and users of both programs generally share the goal of
  384.  seeing widespread use of free cryptographic tools to enhance privacy
  385.  and security.  It is unfortunate that they cannot interoperate (yet).
  386.  
  387. 14)  What about RPEM?
  388.  
  389.  RPEM stands for Rabin Privacy Enhanced Mail.  It was similar to RIPEM,
  390.  but used a public-key cipher invented by Rabin (which is not RSA) in
  391.  an attempt to avoid the patents on public-key systems.  It was
  392.  written by Mark Riordan, who later wrote RIPEM.
  393.  
  394.  Its distribution was halted when, contrary to the beliefs of many
  395.  (including Rabin), PKP claimed that their patents were broad enough
  396.  to cover the cipher employed.  This claim is not universally
  397.  accepted, but was not challenged for pragmatic reasons.
  398.  
  399.  RPEM is not really used anymore.  It is not compatible with RIPEM or PGP.
  400.  
  401. 15)  What is MIME?
  402.  
  403.  MIME stands for Multipurpose Internet Mail Extensions, and is
  404.  described in RFC 1341.  You can find out about it in the newsgroup
  405.  comp.mail.mime; a FAQ exists on it.  How PEM should interact with
  406.  MIME is not yet entirely clear; some people use the stopgap solution
  407.  of having a MIME type application/x-ripem in order to send RIPEM
  408.  messages as MIME ones.  I hope some standards will emerge.  Draft
  409.  Internet documents exist on the matter.
  410.  
  411. 16)  What is TIS/PEM?
  412.  
  413.  Trusted Information System has a different implementation of PEM
  414.  called TIS/PEM.  It is integrated with MH 6.7 (though it doesn't need
  415.  to be used with it.)  It has its own FAQ, and is available via FTP
  416.  from ftp.tis.com.
  417.